package com.petrooil.core.service;

import com.petrooil.core.model.WorkflowRule;

import java.util.List;

public interface IWorkflowRuleService extends CrudService<WorkflowRule> {

    List<WorkflowRule> findAll();

    List<WorkflowRule> getRulesByDepartment(String department);

    WorkflowRule getRuleByFormAndDep(String form, String department);
}
